/* 企业荣誉页面专用样式 */

/* 荣誉统计 */
.honors-stats {
    padding: 3rem 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-content p {
    color: var(--text-light);
    font-weight: 500;
}

/* 荣誉分类标签 */
.honors-categories {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--gradient);
    border-color: var(--primary-color);
    color: white;
}

/* 奖项荣誉 */
.awards-section {
    padding: 4rem 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.award-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.award-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.award-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.award-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.award-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.award-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 权威认证 */
.certifications-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cert-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cert-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-org,
.cert-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cert-org {
    font-weight: 500;
}

/* 合作伙伴 */
.partnerships-section {
    padding: 4rem 0;
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.partner-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.partner-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.partner-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.partner-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 媒体报道 */
.media-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.media-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.media-logo {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.media-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.media-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.media-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.media-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.media-date,
.media-type {
    font-size: 0.9rem;
    color: var(--text-light);
}

.media-type {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 发展历程 */
.timeline-section {
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    text-align: left;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 300px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 联系我们CTA */
.contact-cta {
    padding: 4rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem;
    }

    .tab-btn {
        flex-shrink: 0;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .award-content {
        flex-direction: column;
        text-align: center;
    }

    .award-year {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .partnerships-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-item .timeline-content {
        margin: 0 !important;
        text-align: left !important;
        max-width: none;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .award-card,
    .cert-card,
    .media-card {
        padding: 1.5rem;
    }

    .partner-item {
        flex-direction: column;
        text-align: center;
    }

    .media-meta {
        justify-content: center;
    }
}

/* 动画效果 */
.award-card,
.cert-card,
.partner-item,
.media-card,
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.award-card:nth-child(1) {
    animation-delay: 0.1s;
}

.award-card:nth-child(2) {
    animation-delay: 0.2s;
}

.award-card:nth-child(3) {
    animation-delay: 0.3s;
}

.award-card:nth-child(4) {
    animation-delay: 0.4s;
}

.award-card:nth-child(5) {
    animation-delay: 0.5s;
}

.award-card:nth-child(6) {
    animation-delay: 0.6s;
}

.cert-card:nth-child(1) {
    animation-delay: 0.1s;
}

.cert-card:nth-child(2) {
    animation-delay: 0.2s;
}

.cert-card:nth-child(3) {
    animation-delay: 0.3s;
}

.cert-card:nth-child(4) {
    animation-delay: 0.4s;
}

.cert-card:nth-child(5) {
    animation-delay: 0.5s;
}

.cert-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 过滤动画 */
.award-card.hidden,
.cert-card.hidden,
.partner-category.hidden,
.media-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.award-card.visible,
.cert-card.visible,
.partner-category.visible,
.media-card.visible {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* 统计数字动画 */
.stat-content h3 {
    counter-reset: num;
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        counter-increment: num 0;
    }

    to {
        counter-increment: num var(--target);
    }
}